package com.example.domain;

public class Review {
    private int id;
    private int user_id;
    private String title;
    private String author;
    private String description;
    private String cover_image_url;
    private String category;
    private String statu_s;
    private String update_time;
    private int click_count;
    private int status_admin;
    public Review()
    {

    }

    public Review(int id, int user_id, String title, String author, String description, String cover_image_url, String category, String statu_s, String update_time, int click_count) {
        this.id = id;
        this.user_id = user_id;
        this.title = title;
        this.author = author;
        this.description = description;
        this.cover_image_url = cover_image_url;
        this.category = category;
        this.statu_s = statu_s;
        this.update_time = update_time;
        this.click_count = click_count;
    }
    public Review(int user_id, String title, String author, String description, String cover_image_url, String category, String statu_s) {
        this.user_id = user_id;
        this.title = title;
        this.author = author;
        this.description = description;
        this.cover_image_url = cover_image_url;
        this.category = category;
        this.statu_s = statu_s;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return user_id
     */
    public int getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 设置
     * @param author
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return cover_image_url
     */
    public String getCover_image_url() {
        return cover_image_url;
    }

    /**
     * 设置
     * @param cover_image_url
     */
    public void setCover_image_url(String cover_image_url) {
        this.cover_image_url = cover_image_url;
    }

    /**
     * 获取
     * @return category
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 获取
     * @return statu_s
     */
    public String getStatu_s() {
        return statu_s;
    }

    /**
     * 设置
     * @param statu_s
     */
    public void setStatu_s(String statu_s) {
        this.statu_s = statu_s;
    }

    /**
     * 获取
     * @return update_time
     */
    public String getUpdate_time() {
        return update_time;
    }

    /**
     * 设置
     * @param update_time
     */
    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    /**
     * 获取
     * @return click_count
     */
    public int getClick_count() {
        return click_count;
    }

    /**
     * 设置
     * @param click_count
     */
    public void setClick_count(int click_count) {
        this.click_count = click_count;
    }

    /**
     * 获取
     * @return status_admin
     */
    public int getStatus_admin() {
        return status_admin;
    }

    /**
     * 设置
     * @param status_admin
     */
    public void setStatus_admin(int status_admin) {
        this.status_admin = status_admin;
    }

    public String toString() {
        return "Review{id = " + id + ", user_id = " + user_id + ", title = " + title + ", author = " + author + ", description = " + description + ", cover_image_url = " + cover_image_url + ", category = " + category + ", statu_s = " + statu_s + ", update_time = " + update_time + ", click_count = " + click_count + ", status_admin = " + status_admin + "}";
    }
}
